<?php
/**
 * Created by 沧月
 * User: Lhhhh丶
 * Date: 2019/5/7
 * Time: 23:53
 */

namespace app\api\controller;


use app\api\service\Token as TokenService;
use think\Controller;

class BaseController extends Controller
{
    protected function checkPrimaryScope(){
        TokenService::needPrimaryScope();
    }

    protected function checkExclusiveScope(){
        TokenService::needExclusiveScope();
    }
}